Skip to content

refactor(dc_measurements,dc_core): rename custom_params to custom_keys - #318

Merged
Minipada merged 2 commits into
jazzyfrom
feature/186-rename-custom-params-to-custom-keys
Aug 11, 2026
Merged

refactor(dc_measurements,dc_core): rename custom_params to custom_keys#318
Minipada merged 2 commits into
jazzyfrom
feature/186-rename-custom-params-to-custom-keys

Conversation

@Minipada

Copy link
Copy Markdown
Owner

Summary

  • Rename measurement_server's custom_str_params_list/custom_str_params node parameters to custom_key_str_list/custom_keys_str — what these add to a Record is custom keys in the serialized JSON, not parameters of the node.
  • Rename every mirroring C++ variable/member/method in dc_core/dc_measurements (custom_params_ -> custom_keys_, setCustomParameters/addCustomParameters -> setCustomKeys/addCustomKeys, etc.), the 7 demo configs under dc_demos/params/, the docs, and the measurement_server.sdoc requirements.
  • Note the breaking config rename in doc/src/dc/migration.md (before/after snippet + checklist item) for anyone upgrading an existing jazzy checkout.

Test plan

  • Repo-wide grep confirms no custom_param occurrences remain outside the gitignored doc/book/ build output.
  • pre-commit run --all-files — hooks touching this diff's files (check-xml, pyupgrade, clang-format) ran clean. Other failures in the same run (build-doc hitting a stale local Podman boot-ID cache, poetry-requirements missing poetry, flake8 findings in files this change never touches) are pre-existing local-environment issues, not caused by this diff.
  • Generated doc/src/dc/requirements/html/ / doc/book/ artifacts not regenerated locally (strictdoc unavailable, Podman docs image blocked by the boot-ID cache issue above) — the .sdoc edit is a pure text substitution inside existing STATEMENT fields, not a structural change, so CI's docs build (starting from a clean runner) should pick it up cleanly.

Closes #186

🤖 Generated with Claude Code

https://claude.ai/code/session_01DgSaCimN2ce7nborgttsPB

Minipada and others added 2 commits August 11, 2026 09:47
What custom_str_params/custom_params add are custom keys in the Record
JSON, not parameters of the node. Rename the node parameters
(custom_str_params_list -> custom_key_str_list, custom_str_params ->
custom_keys_str) and every C++ variable/member/method mirroring them
(custom_params_ -> custom_keys_, setCustomParameters ->
setCustomKeys, addCustomParameters -> addCustomKeys, etc.), and update
demo configs, docs, and the strictdoc requirements to match. Note the
breaking config rename in migration.md.

Closes #186

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgSaCimN2ce7nborgttsPB
Signed-off-by: David Bensoussan <d.bensoussan@proton.me>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgSaCimN2ce7nborgttsPB
Signed-off-by: David Bensoussan <d.bensoussan@proton.me>
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.81%. Comparing base (0f0088e) to head (bb2d673).

Files with missing lines Patch % Lines
dc_measurements/src/measurement_server.cpp 45.00% 11 Missing ⚠️
...asurements/include/dc_measurements/measurement.hpp 66.67% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            jazzy     #318      +/-   ##
==========================================
+ Coverage   40.80%   40.81%   +0.01%     
==========================================
  Files          82       82              
  Lines        4920     4919       -1     
==========================================
  Hits         2007     2007              
+ Misses       2913     2912       -1     
Flag Coverage Δ
cpp-jazzy 40.81% <50.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Minipada
Minipada merged commit 588c495 into jazzy Aug 11, 2026
7 checks passed
@Minipada
Minipada deleted the feature/186-rename-custom-params-to-custom-keys branch August 16, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant